package com.bootdo.timing.service;

import com.bootdo.timing.domain.OrderDO;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author caisj
 * @email 1992lcg@163.com
 * @date 2020-01-05 22:43:00
 */
public interface OrderService {
	
	OrderDO get(Integer id);
	
	List<OrderDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(OrderDO order);
	
	int update(OrderDO order);
	int updateByOrderId(OrderDO order );
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	String getBuyAmount();

    List<Map<String, Object>> getGroupPriceByType();
}
